/**
 * JAVACC DEMO 1.0
 * @copy right apache company All rights reserved. 
 * @Package com.apache.api.vo  
 */
package com.apache.api.vo;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * description:  
 * @author Hou Dayu 创建时间：2016-11-7
 * @Copyright(c)2014:
 */
@SuppressWarnings("serial")
@XmlRootElement(name = "Root")
public class ResultEntity implements Serializable {
	//响应结果
	@XStreamAlias("result")
	private String result;
	//返回信息
	@XStreamAlias("message")
	private String message;
	@XStreamAlias("entity")
	private Object entity;

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getEntity() {
		return entity;
	}

	public void setEntity(Object entity) {
		this.entity = entity;
	}

    @Override
    public String toString() {
        return "ResultEntity{" + "result='" + result + '\'' + ", message='" + message + '\''
                       + ", entity=" + entity + '}';
    }
}
